* RMatch1965y2001control.sps.
* Match patients with teeth filled in March 2000 against other
* teeth treated in year ending March 2001.
* Written by PSKL on 28/11/01.

* Restrict March 2000 data to fillings.

get file = 'D:\PSKL\Rteeth196510003to10103.sav'.

select if ( fsched = 10003).

select if ( any( trtcode, 1401,1402,1403,1404,1421,1426)).

* save master file of filled teeth (temp1).

Compute Fillrec=1.

save outfile='c:\temp1.sav'.

get file='c:\temp1.sav'.

* save look-up table, one record for each tooth, for matching (temp2).

Compute Filled=1.

sort cases by surname initial sex dobirth tooth quadrant doacc docomp.

Aggregate outfile=* /presorted
 /break surname initial sex dobirth tooth quadrant
 /filled =max(filled)
 /dofacc dofcomp=first(doacc docomp).

save outfile= 'c:\temp2.sav'
 / keep surname initial sex dobirth tooth quadrant filled dofacc dofcomp.

* Create lookup file of patients who have had fillings in March 2000 (temp2A).
* This file contains a dummy quadrant to indicate that at least one tooth in
* the tooth position has been filled.

Aggregate outfile=*/presorted
 /break surname initial sex dobirth tooth
 /dofacc dofcomp=first(dofacc dofcomp).
compute doacc=dofacc.
compute docomp=dofcomp.

string quadrant (A2).
compute quadrant='AA'.

compute fillrec=-1.

save outfile='c:\temp2a.sav'.


* Match against quadrant records for next year, but exclude correction records.

get file = 'D:\PSKL\Rteeth196510003to10103.sav'.

sort cases by surname initial sex dobirth tooth quadrant doacc.

Match files file=*
 /table 'c:\temp2a.sav'
 /by surname initial sex dobirth tooth.

Execute.

select if (not(missing(dofacc)) and not(dofacc=doacc)).

Compute fillrec=0.

Execute.

* Remove quadrants which had fillings in March 2000.

Match files file=*
 /table='c:\temp2.sav'
 /by surname initial sex dobirth tooth quadrant.

If (missing(filled)) filled=0.
select if (filled=0).

Execute.

* Combine with March 2000 dummy quadrant records, when patients received fillings
 in at least one quadrant, to get dates of March 2000 courses of treatment.

Add files file= 'C:\temp2a.sav'
 /file *
 /by surname initial sex dobirth tooth quadrant fillrec.

* Remove additional fee records.

If (missing(trtcode)) trtcode=0.
select if not (range(trtcode,1431,1431,1422,1425,1541,1541,
   1732,1739,1811,1816,2746,2746,5825,5825)).

save outfile='c:\temp3.sav'.

get file='c:\temp3.sav'.

* Reduce to file of teeth not filled in March 2000 schedule but
* where other teeth in the same position were treated then, but treated in following year,
* supplemented by time to failure and
* replacement treatment.

sort cases by surname initial sex dobirth tooth quadrant fillrec doacc trtcode.

aggregate outfile=*
 /presorted
 /break surname initial sex dobirth tooth quadrant fillrec doacc
 / fpcnum persnum partnum suffix postcode docomp exempbox
   trtcode quadcode toothpat exempcod =
 first(fpcnum persnum partnum suffix postcode docomp exempbox
   trtcode quadcode toothpat exempcod)
 /t1=first(trtcode)
 /t2=sum(trtcode)
 /t3=last(trtcode)
 /treats=n.

EXECUTE.

* Calculate time lag for each replacement treatment - up to three per patient.
Do if (fillrec=0 and lag(fillrec)=-1).
compute time=ctime.days(doacc-lag(docomp)).
compute reptrt1=t1.
if (treats=2) reptrt2=t3.
if (treats=3) reptrt2=t2-t1-t3.
if (treats=3) reptrt3=t3.
Compute reptreat=reptrt1.
If (treats>1) reptreat=9999.
End if.

Do if (fillrec=0 and lag(fillrec,2)=-1).
compute time=ctime.days(doacc-lag(docomp,2)).
compute reptrt1=t1.
if (treats=2) reptrt2=t3.
if (treats=3) reptrt2=t2-t1-t3.
if (treats=3) reptrt3=t3.
Compute reptreat=reptrt1.
If (treats>1) reptreat=9999.
End if.

Do if (fillrec=0 and not(lag(fillrec))=-1 and lag(fillrec,3)=-1).
compute time=ctime.days(doacc-lag(docomp,3)).
compute reptrt1=t1.
if (treats=2) reptrt2=t3.
if (treats=3) reptrt2=t2-t1-t3.
if (treats=3) reptrt3=t3.
Compute reptreat=reptrt1.
If (treats>1) reptreat=9999.
End if.

formats trtcode reptreat (f4.0).
formats trtcode reptreat (f4.0) tooth (f1.0).

EXECUTE.

* Tidy up the remaining anomalies.
* Assume negative time cases reflect claims out of sequence.
* Censor all cases at 365 days.
Compute failed=0.
Do if (range(time,1,365)).
compute failed=1.
else.
compute time=365.
end if.
If (missing(time))time=365.

EXECUTE.

* Reduce to one record, for the first retreatment,
* for each quadrant for which the tooth was not treated in March 2000,
* including a dummy quadrant record if the tooth was not retreated.

sort cases by surname initial sex dobirth tooth quadrant time.

Aggregate outfile=* /presorted
 /break surname initial sex dobirth tooth quadrant
 / doacc fpcnum persnum partnum suffix postcode docomp
   exempbox trtcode exempcod time reptreat reptrt1 reptrt2 reptrt3 failed
 =first(doacc fpcnum persnum partnum suffix postcode docomp
   exempbox trtcode exempcod time reptreat reptrt1 reptrt2 reptrt3 failed).

save outfile='D:\pskl\RMatch1965y2001control.sav'.

Get file='D:\pskl\RMatch1965y2001control.sav'.


* Produce some tables.

* a) Proportion of early failures, by tooth position, quadrant, type of filling, and patient sex.

Compute failedPC=100*failed.

autorecode VARIABLES= quadrant sex
 /INTO quadn sexn.

Value Labels
 Tooth TRTCODE
1 '1'
2 '2'
3 '3'
4 '4'
5 '5'
6 '6'
7 '7'
8 '8'
1401 '1401'
1402 '1402'
1403 '1403'
1404 '1404'
1421 '1421'
1426 '1426'.

Variable Labels Tooth 'Tooth Position'
 /quadrant quadn 'Quadrant'
 /trtcode 'Treatment Code'.

Temporary.
select if (any(quadrant,'LL','AA')).

* Basic Tables.
TABLES
  /FORMAT BLANK MISSING('.')
  /OBSERVATION failedpc
  /FTOTAL $t 'Summary'
  /TABLES (sexn > failedpc +  $t )
  BY (tooth +  $t )
  BY ((STATISTICS))
  /STATISTICS
  mean( (PCT7.2 ))
  count( ( COMMA7.0 )) /TITLE  'Retreatment rates by tooth'+
 ' position and patient sex - LL Quadrant'.

Tables

Notes
Output Created 12-FEB-2003 18:25:14
Comments
Input Data D:\pskl\RMatch1965y2001control.sav
File Label Aggregated File
Filter <none>
Weight <none>
Split File <none>
N of Rows in Working Data File 27736
Syntax TABLES
/FORMAT BLANK MISSING('.')
/OBSERVATION failedpc
/FTOTAL $t 'Summary'
/TABLES (sexn > failedpc + $t )
BY (tooth + $t )
BY ((STATISTICS))
/STATISTICS
mean( (PCT7.2 ))
count( ( COMMA7.0 )) /TITLE 'Retreatment rates by tooth'+
' position and patient sex - LL Quadrant'.
Resources Elapsed Time 0:00:01.10


Retreatment rates by tooth position and patient sex - LL Quadrant
Mean

Tooth Position Summary
1 2 3 4 5 6 7 8
F
.79% .93% 1.80% 1.71% 2.57% 3.22% 2.68% 1.68% 2.38%
M
.87% .99% 1.83% 1.81% 2.07% 3.06% 2.31% .83% 2.11%
Summary .83% .96% 1.81% 1.76% 2.35% 3.15% 2.52% 1.26% 2.26%

Retreatment rates by tooth position and patient sex - LL Quadrant
Count

Tooth Position Summary
1 2 3 4 5 6 7 8
F
1,017 858 834 1,580 2,299 4,382 3,319 1,014 15,303
M
801 810 765 1,269 1,739 3,399 2,684 966 12,433
Summary 1,818 1,668 1,599 2,849 4,038 7,781 6,003 1,980 27,736

Temporary.
select if (any(quadrant,'LR','AA')).

* Basic Tables.
TABLES
  /FORMAT BLANK MISSING('.')
  /OBSERVATION failedpc
  /FTOTAL $t 'Summary'
  /TABLES (sexn > failedpc +  $t )
  BY (tooth +  $t )
  BY ((STATISTICS))
  /STATISTICS
  mean( (PCT7.2 ))
  count( ( COMMA7.0 )) /TITLE  'Retreatment rates by tooth'+
 ' position and patient sex - LR Quadrant'.

Tables

Notes
Output Created 12-FEB-2003 18:25:15
Comments
Input Data D:\pskl\RMatch1965y2001control.sav
File Label Aggregated File
Filter <none>
Weight <none>
Split File <none>
N of Rows in Working Data File 27705
Syntax TABLES
/FORMAT BLANK MISSING('.')
/OBSERVATION failedpc
/FTOTAL $t 'Summary'
/TABLES (sexn > failedpc + $t )
BY (tooth + $t )
BY ((STATISTICS))
/STATISTICS
mean( (PCT7.2 ))
count( ( COMMA7.0 )) /TITLE 'Retreatment rates by tooth'+
' position and patient sex - LR Quadrant'.
Resources Elapsed Time 0:00:00.98


Retreatment rates by tooth position and patient sex - LR Quadrant
Mean

Tooth Position Summary
1 2 3 4 5 6 7 8
F
.69% .35% 1.21% 1.46% 2.45% 3.60% 2.35% 1.19% 2.27%
M
.75% 1.47% 1.57% 1.89% 2.07% 2.83% 2.35% 1.34% 2.11%
Summary .72% .90% 1.38% 1.65% 2.29% 3.27% 2.35% 1.26% 2.20%

Retreatment rates by tooth position and patient sex - LR Quadrant
Count

Tooth Position Summary
1 2 3 4 5 6 7 8
F
1,017 855 826 1,573 2,285 4,389 3,316 1,009 15,270
M
801 814 764 1,269 1,740 3,390 2,686 971 12,435
Summary 1,818 1,669 1,590 2,842 4,025 7,779 6,002 1,980 27,705

.

Temporary.
select if (any(quadrant,'UL','AA')).

* Basic Tables.
TABLES
  /FORMAT BLANK MISSING('.')
  /OBSERVATION failedpc
  /FTOTAL $t 'Summary'
  /TABLES (sexn > failedpc +  $t )
  BY (tooth +  $t )
  BY ((STATISTICS))
  /STATISTICS
  mean( (PCT7.2 ))
  count( ( COMMA7.0 )) /TITLE  'Retreatment rates by tooth'+
 ' position and patient sex - UL Quadrant'.

Tables

Notes
Output Created 12-FEB-2003 18:25:16
Comments
Input Data D:\pskl\RMatch1965y2001control.sav
File Label Aggregated File
Filter <none>
Weight <none>
Split File <none>
N of Rows in Working Data File 27817
Syntax TABLES
/FORMAT BLANK MISSING('.')
/OBSERVATION failedpc
/FTOTAL $t 'Summary'
/TABLES (sexn > failedpc + $t )
BY (tooth + $t )
BY ((STATISTICS))
/STATISTICS
mean( (PCT7.2 ))
count( ( COMMA7.0 )) /TITLE 'Retreatment rates by tooth'+
' position and patient sex - UL Quadrant'.
Resources Elapsed Time 0:00:00.98


Retreatment rates by tooth position and patient sex - UL Quadrant
Mean

Tooth Position Summary
1 2 3 4 5 6 7 8
F
3.16% 2.96% 3.07% 2.50% 1.80% 3.32% 2.62% 1.48% 2.69%
M
2.82% 2.65% 2.33% 1.82% 2.63% 2.89% 2.31% 1.54% 2.46%
Summary 3.01% 2.81% 2.72% 2.20% 2.16% 3.13% 2.48% 1.51% 2.59%

Retreatment rates by tooth position and patient sex - UL Quadrant
Count

Tooth Position Summary
1 2 3 4 5 6 7 8
F
1,043 877 847 1,597 2,277 4,370 3,315 1,014 15,340
M
817 829 772 1,267 1,751 3,387 2,681 973 12,477
Summary 1,860 1,706 1,619 2,864 4,028 7,757 5,996 1,987 27,817

Temporary.
select if (any(quadrant,'UR','AA')).

* Basic Tables.
TABLES
  /FORMAT BLANK MISSING('.')
  /OBSERVATION failedpc
  /FTOTAL $t 'Summary'
  /TABLES (sexn > failedpc +  $t )
  BY (tooth +  $t )
  BY ((STATISTICS))
  /STATISTICS
  mean( (PCT7.2 ))
  count( ( COMMA7.0 )) /TITLE  'Retreatment rates by tooth'+
 ' position and patient sex - UR Quadrant'.

Tables

Notes
Output Created 12-FEB-2003 18:25:17
Comments
Input Data D:\pskl\RMatch1965y2001control.sav
File Label Aggregated File
Filter <none>
Weight <none>
Split File <none>
N of Rows in Working Data File 27802
Syntax TABLES
/FORMAT BLANK MISSING('.')
/OBSERVATION failedpc
/FTOTAL $t 'Summary'
/TABLES (sexn > failedpc + $t )
BY (tooth + $t )
BY ((STATISTICS))
/STATISTICS
mean( (PCT7.2 ))
count( ( COMMA7.0 )) /TITLE 'Retreatment rates by tooth'+
' position and patient sex - UR Quadrant'.
Resources Elapsed Time 0:00:01.17


Retreatment rates by tooth position and patient sex - UR Quadrant
Mean

Tooth Position Summary
1 2 3 4 5 6 7 8
F
3.34% 2.41% 2.15% 1.95% 2.40% 2.87% 3.00% .70% 2.56%
M
3.40% 2.64% 3.33% 1.73% 1.95% 2.46% 2.39% .72% 2.29%
Summary 3.37% 2.52% 2.72% 1.85% 2.21% 2.69% 2.73% .71% 2.44%

Retreatment rates by tooth position and patient sex - UR Quadrant
Count

Tooth Position Summary
1 2 3 4 5 6 7 8
F
1,049 872 837 1,588 2,288 4,356 3,329 1,004 15,323
M
823 832 781 1,274 1,742 3,377 2,683 967 12,479
Summary 1,872 1,704 1,618 2,862 4,030 7,733 6,012 1,971 27,802

* b) Replacement treatment , by quadrant.

string retcomb (a14).
compute retcomb=concat(string( reptrt1,f4),'/',string( reptrt2,f4),'/',string( reptrt3,f4)).

Variable Labels retcomb 'Retreatment combination'.

execute.

temporary.
select if ( failed=1).

CROSSTABS
  /TABLES=retcomb  BY quadrant  BY tooth
  /FORMAT= AVALUE TABLES
  /CELLS= COUNT COLUMN .

Crosstabs

Notes
Output Created 12-FEB-2003 18:25:19
Comments
Input Data D:\pskl\RMatch1965y2001control.sav
File Label Aggregated File
Filter <none>
Weight <none>
Split File <none>
N of Rows in Working Data File 2633
Missing Value Handling Definition of Missing User-defined missing values are treated as missing.
Cases Used Statistics for each table are based on all the cases with valid data in the specified range(s) for all variables in each table.
Syntax CROSSTABS
/TABLES=retcomb BY quadrant BY tooth
/FORMAT= AVALUE TABLES
/CELLS= COUNT COLUMN .
Resources Dimensions Requested 3
Cells Available 80659
Elapsed Time 0:00:01.18

Case Processing Summary

Cases
Valid Missing Total
N Percent N Percent N Percent
Retreatment combination * quadn 'Quadrant' * Tooth Position 2633 100.0% 0 .0% 2633 100.0%


Retreatment combination * quadn 'Quadrant' * Tooth Position Crosstabulation

quadn 'Quadrant' Total
Tooth Position LL LR UL UR
1 Retreatment combination 1421/ ./ . Count 10 7 30 32 79
% within quadn 'Quadrant' 66.7% 53.8% 53.6% 50.8% 53.7%
1421/1426/ . Count


1 1
% within quadn 'Quadrant'


1.6% .7%
1421/1501/ . Count
1 1
2
% within quadn 'Quadrant'
7.7% 1.8%
1.4%
1421/1501/1521 Count

1
1
% within quadn 'Quadrant'

1.8%
.7%
1426/ ./ . Count 2
1 3 6
% within quadn 'Quadrant' 13.3%
1.8% 4.8% 4.1%
1426/1501/ . Count 1

1 2
% within quadn 'Quadrant' 6.7%

1.6% 1.4%
1501/1721/ . Count

2
2
% within quadn 'Quadrant'

3.6%
1.4%
1521/ ./ . Count


2 2
% within quadn 'Quadrant'


3.2% 1.4%
1601/ ./ . Count

2 1 3
% within quadn 'Quadrant'

3.6% 1.6% 2.0%
1721/ ./ . Count 1 2 3 7 13
% within quadn 'Quadrant' 6.7% 15.4% 5.4% 11.1% 8.8%
1721/1744/ . Count


1 1
% within quadn 'Quadrant'


1.6% .7%
1723/ ./ . Count


1 1
% within quadn 'Quadrant'


1.6% .7%
1744/1782/ . Count

1
1
% within quadn 'Quadrant'

1.8%
.7%
1782/ ./ . Count
1 3 8 12
% within quadn 'Quadrant'
7.7% 5.4% 12.7% 8.2%
1782/6511/ . Count

1
1
% within quadn 'Quadrant'

1.8%
.7%
1807/ ./ . Count

1
1
% within quadn 'Quadrant'

1.8%
.7%
1825/ ./ . Count


1 1
% within quadn 'Quadrant'


1.6% .7%
2101/2733/ . Count
1 1
2
% within quadn 'Quadrant'
7.7% 1.8%
1.4%
2733/ ./ . Count


1 1
% within quadn 'Quadrant'


1.6% .7%
2745/ ./ . Count

1
1
% within quadn 'Quadrant'

1.8%
.7%
3611/ ./ . Count
1 6 2 9
% within quadn 'Quadrant'
7.7% 10.7% 3.2% 6.1%
4003/ ./ . Count 1


1
% within quadn 'Quadrant' 6.7%


.7%
5821/5822/ . Count

1
1
% within quadn 'Quadrant'

1.8%
.7%
6251/ ./ . Count

1
1
% within quadn 'Quadrant'

1.8%
.7%
6331/ ./ . Count


1 1
% within quadn 'Quadrant'


1.6% .7%
6351/ ./ . Count


1 1
% within quadn 'Quadrant'


1.6% .7%
Total Count 15 13 56 63 147
% within quadn 'Quadrant' 100.0% 100.0% 100.0% 100.0% 100.0%
2 Retreatment combination 1421/ ./ . Count 10 6 16 14 46
% within quadn 'Quadrant' 62.5% 40.0% 33.3% 32.6% 37.7%
1421/1501/ . Count
1 4 2 7
% within quadn 'Quadrant'
6.7% 8.3% 4.7% 5.7%
1426/ ./ . Count
1 3 1 5
% within quadn 'Quadrant'
6.7% 6.3% 2.3% 4.1%
1426/1501/ . Count

1 1 2
% within quadn 'Quadrant'

2.1% 2.3% 1.6%
1501/ ./ . Count


1 1
% within quadn 'Quadrant'


2.3% .8%
1501/1721/ . Count


1 1
% within quadn 'Quadrant'


2.3% .8%
1501/1722/ . Count

1
1
% within quadn 'Quadrant'

2.1%
.8%
1501/1807/ . Count

1
1
% within quadn 'Quadrant'

2.1%
.8%
1501/6301/ . Count

1
1
% within quadn 'Quadrant'

2.1%
.8%
1521/ ./ . Count

1 1 2
% within quadn 'Quadrant'

2.1% 2.3% 1.6%
1601/ ./ . Count

1 1 2
% within quadn 'Quadrant'

2.1% 2.3% 1.6%
1716/ ./ . Count

1
1
% within quadn 'Quadrant'

2.1%
.8%
1721/ ./ . Count 1 2 3 2 8
% within quadn 'Quadrant' 6.3% 13.3% 6.3% 4.7% 6.6%
1722/ ./ . Count 1
1 1 3
% within quadn 'Quadrant' 6.3%
2.1% 2.3% 2.5%
1771/ ./ . Count

1
1
% within quadn 'Quadrant'

2.1%
.8%
1782/ ./ . Count
1 4 4 9
% within quadn 'Quadrant'
6.7% 8.3% 9.3% 7.4%
1807/ ./ . Count


1 1
% within quadn 'Quadrant'


2.3% .8%
1825/ ./ . Count

2
2
% within quadn 'Quadrant'

4.2%
1.6%
1831/ ./ . Count 1 1

2
% within quadn 'Quadrant' 6.3% 6.7%

1.6%
1832/ ./ . Count

1 1 2
% within quadn 'Quadrant'

2.1% 2.3% 1.6%
2101/ ./ . Count
1

1
% within quadn 'Quadrant'
6.7%

.8%
2101/2733/ . Count
1

1
% within quadn 'Quadrant'
6.7%

.8%
2101/2863/ . Count 1


1
% within quadn 'Quadrant' 6.3%


.8%
2733/ ./ . Count
1 5 7 13
% within quadn 'Quadrant'
6.7% 10.4% 16.3% 10.7%
2863/ ./ . Count


1 1
% within quadn 'Quadrant'


2.3% .8%
3611/ ./ . Count 2
1 2 5
% within quadn 'Quadrant' 12.5%
2.1% 4.7% 4.1%
5001/ ./ . Count


1 1
% within quadn 'Quadrant'


2.3% .8%
5211/ ./ . Count


1 1
% within quadn 'Quadrant'


2.3% .8%
Total Count 16 15 48 43 122
% within quadn 'Quadrant' 100.0% 100.0% 100.0% 100.0% 100.0%
3 Retreatment combination 1131/1421/ . Count

1
1
% within quadn 'Quadrant'

2.3%
.7%
1401/ ./ . Count
2

2
% within quadn 'Quadrant'
9.1%

1.4%
1402/ ./ . Count

2
2
% within quadn 'Quadrant'

4.5%
1.4%
1421/ ./ . Count 19 13 21 25 78
% within quadn 'Quadrant' 65.5% 59.1% 47.7% 56.8% 56.1%
1421/1501/ . Count


3 3
% within quadn 'Quadrant'


6.8% 2.2%
1426/ ./ . Count 8 3 5 4 20
% within quadn 'Quadrant' 27.6% 13.6% 11.4% 9.1% 14.4%
1426/1501/2733 Count

1
1
% within quadn 'Quadrant'

2.3%
.7%
1501/1721/ . Count

1
1
% within quadn 'Quadrant'

2.3%
.7%
1721/ ./ . Count
1 1 1 3
% within quadn 'Quadrant'
4.5% 2.3% 2.3% 2.2%
1722/ ./ . Count

1
1
% within quadn 'Quadrant'

2.3%
.7%
1782/ ./ . Count 1 1 4 2 8
% within quadn 'Quadrant' 3.4% 4.5% 9.1% 4.5% 5.8%
1807/ ./ . Count

2 1 3
% within quadn 'Quadrant'

4.5% 2.3% 2.2%
1832/ ./ . Count
1

1
% within quadn 'Quadrant'
4.5%

.7%
2101/2733/ . Count

1
1
% within quadn 'Quadrant'

2.3%
.7%
2733/ ./ . Count 1 1 2 7 11
% within quadn 'Quadrant' 3.4% 4.5% 4.5% 15.9% 7.9%
3611/ ./ . Count

1
1
% within quadn 'Quadrant'

2.3%
.7%
5112/ ./ . Count

1
1
% within quadn 'Quadrant'

2.3%
.7%
5211/ ./ . Count


1 1
% within quadn 'Quadrant'


2.3% .7%
Total Count 29 22 44 44 139
% within quadn 'Quadrant' 100.0% 100.0% 100.0% 100.0% 100.0%
4 Retreatment combination 1131/1721/ . Count 1


1
% within quadn 'Quadrant' 2.0%


.5%
1401/ ./ . Count 2 1 2 3 8
% within quadn 'Quadrant' 4.0% 2.1% 3.2% 5.7% 3.8%
1401/1426/ . Count 1


1
% within quadn 'Quadrant' 2.0%


.5%
1401/1501/ . Count

1
1
% within quadn 'Quadrant'

1.6%
.5%
1402/ ./ . Count
1

1
% within quadn 'Quadrant'
2.1%

.5%
1403/ ./ . Count 12 8 11 11 42
% within quadn 'Quadrant' 24.0% 17.0% 17.5% 20.8% 19.7%
1403/1501/ . Count
1 2 1 4
% within quadn 'Quadrant'
2.1% 3.2% 1.9% 1.9%
1404/ ./ . Count
1 5 5 11
% within quadn 'Quadrant'
2.1% 7.9% 9.4% 5.2%
1404/1421/ . Count 1


1
% within quadn 'Quadrant' 2.0%


.5%
1404/1501/ . Count 2
1 1 4
% within quadn 'Quadrant' 4.0%
1.6% 1.9% 1.9%
1421/ ./ . Count 11 12 13 11 47
% within quadn 'Quadrant' 22.0% 25.5% 20.6% 20.8% 22.1%
1421/1421/ . Count
1

1
% within quadn 'Quadrant'
2.1%

.5%
1421/1501/ . Count

1
1
% within quadn 'Quadrant'

1.6%
.5%
1426/ ./ . Count 9 7 8 7 31
% within quadn 'Quadrant' 18.0% 14.9% 12.7% 13.2% 14.6%
1426/1501/ . Count 1 1

2
% within quadn 'Quadrant' 2.0% 2.1%

.9%
1441/ ./ . Count 2 2

4
% within quadn 'Quadrant' 4.0% 4.3%

1.9%
1443/ ./ . Count

1
1
% within quadn 'Quadrant'

1.6%
.5%
1444/ ./ . Count 1


1
% within quadn 'Quadrant' 2.0%


.5%
1501/ ./ . Count

1
1
% within quadn 'Quadrant'

1.6%
.5%
1501/1721/ . Count


1 1
% within quadn 'Quadrant'


1.9% .5%
1501/6301/ . Count


1 1
% within quadn 'Quadrant'


1.9% .5%
1501/6511/ . Count
1

1
% within quadn 'Quadrant'
2.1%

.5%
1704/ ./ . Count

1
1
% within quadn 'Quadrant'

1.6%
.5%
1721/ ./ . Count 1 3 1 2 7
% within quadn 'Quadrant' 2.0% 6.4% 1.6% 3.8% 3.3%
1722/ ./ . Count

1
1
% within quadn 'Quadrant'

1.6%
.5%
1781/ ./ . Count

1
1
% within quadn 'Quadrant'

1.6%
.5%
1782/ ./ . Count 1 2 2 1 6
% within quadn 'Quadrant' 2.0% 4.3% 3.2% 1.9% 2.8%
1807/ ./ . Count

1 1 2
% within quadn 'Quadrant'

1.6% 1.9% .9%
1825/ ./ . Count


1 1
% within quadn 'Quadrant'


1.9% .5%
1831/ ./ . Count 1 1

2
% within quadn 'Quadrant' 2.0% 2.1%

.9%
2101/ ./ . Count

2
2
% within quadn 'Quadrant'

3.2%
.9%
2101/2863/ . Count 1

1 2
% within quadn 'Quadrant' 2.0%

1.9% .9%
2201/ ./ . Count
1

1
% within quadn 'Quadrant'
2.1%

.5%
2733/ ./ . Count 2 3 3 3 11
% within quadn 'Quadrant' 4.0% 6.4% 4.8% 5.7% 5.2%
2744/ ./ . Count

1
1
% within quadn 'Quadrant'

1.6%
.5%
2745/ ./ . Count 1


1
% within quadn 'Quadrant' 2.0%


.5%
3611/ ./ . Count

1 1 2
% within quadn 'Quadrant'

1.6% 1.9% .9%
5032/ ./ . Count


1 1
% within quadn 'Quadrant'


1.9% .5%
5201/ ./ . Count
1

1
% within quadn 'Quadrant'
2.1%

.5%
5211/ ./ . Count


1 1
% within quadn 'Quadrant'


1.9% .5%
5811/5841/ . Count

1
1
% within quadn 'Quadrant'

1.6%
.5%
6231/ ./ . Count

1
1
% within quadn 'Quadrant'

1.6%
.5%
6341/ ./ . Count

1
1
% within quadn 'Quadrant'

1.6%
.5%
Total Count 50 47 63 53 213
% within quadn 'Quadrant' 100.0% 100.0% 100.0% 100.0% 100.0%
5 Retreatment combination 1131/1721/ . Count
1

1
% within quadn 'Quadrant'
1.1%

.3%
1401/ ./ . Count 5 5 4 4 18
% within quadn 'Quadrant' 5.3% 5.4% 4.6% 4.5% 5.0%
1401/1501/ . Count
1 1 4 6
% within quadn 'Quadrant'
1.1% 1.1% 4.5% 1.7%
1402/ ./ . Count 1
2
3
% within quadn 'Quadrant' 1.1%
2.3%
.8%
1402/1501/ . Count


1 1
% within quadn 'Quadrant'


1.1% .3%
1403/ ./ . Count 31 33 20 16 100
% within quadn 'Quadrant' 32.6% 35.9% 23.0% 18.0% 27.5%
1403/1421/ . Count

1
1
% within quadn 'Quadrant'

1.1%
.3%
1403/1501/ . Count 2 1
3 6
% within quadn 'Quadrant' 2.1% 1.1%
3.4% 1.7%
1404/ ./ . Count 10 7 17 14 48
% within quadn 'Quadrant' 10.5% 7.6% 19.5% 15.7% 13.2%
1404/1421/ . Count 1

1 2
% within quadn 'Quadrant' 1.1%

1.1% .6%
1404/1426/ . Count

1
1
% within quadn 'Quadrant'

1.1%
.3%
1404/1501/ . Count 1 1 1 2 5
% within quadn 'Quadrant' 1.1% 1.1% 1.1% 2.2% 1.4%
1404/6301/ . Count 1


1
% within quadn 'Quadrant' 1.1%


.3%
1411/ ./ . Count
1

1
% within quadn 'Quadrant'
1.1%

.3%
1421/ ./ . Count 11 13 6 6 36
% within quadn 'Quadrant' 11.6% 14.1% 6.9% 6.7% 9.9%
1421/1501/ . Count
1

1
% within quadn 'Quadrant'
1.1%

.3%
1421/3661/ . Count

1
1
% within quadn 'Quadrant'

1.1%
.3%
1426/ ./ . Count 5 3 4 7 19
% within quadn 'Quadrant' 5.3% 3.3% 4.6% 7.9% 5.2%
1426/1444/ . Count 1 1

2
% within quadn 'Quadrant' 1.1% 1.1%

.6%
1441/ ./ . Count 1 2 1
4
% within quadn 'Quadrant' 1.1% 2.2% 1.1%
1.1%
1442/ ./ . Count 1


1
% within quadn 'Quadrant' 1.1%


.3%
1443/ ./ . Count
1
1 2
% within quadn 'Quadrant'
1.1%
1.1% .6%
1444/ ./ . Count 1 1 1
3
% within quadn 'Quadrant' 1.1% 1.1% 1.1%
.8%
1461/ ./ . Count 1


1
% within quadn 'Quadrant' 1.1%


.3%
1501/ ./ . Count 1 1

2
% within quadn 'Quadrant' 1.1% 1.1%

.6%
1501/1704/ . Count 1


1
% within quadn 'Quadrant' 1.1%


.3%
1501/1721/ . Count
3
1 4
% within quadn 'Quadrant'
3.3%
1.1% 1.1%
1501/1782/ . Count


1 1
% within quadn 'Quadrant'


1.1% .3%
1501/1807/ . Count


1 1
% within quadn 'Quadrant'


1.1% .3%
1501/6301/ . Count


1 1
% within quadn 'Quadrant'


1.1% .3%
1704/ ./ . Count


3 3
% within quadn 'Quadrant'


3.4% .8%
1721/ ./ . Count 7 5 6 3 21
% within quadn 'Quadrant' 7.4% 5.4% 6.9% 3.4% 5.8%
1722/ ./ . Count
1

1
% within quadn 'Quadrant'
1.1%

.3%
1781/ ./ . Count
2

2
% within quadn 'Quadrant'
2.2%

.6%
1782/ ./ . Count 2 1 2 5 10
% within quadn 'Quadrant' 2.1% 1.1% 2.3% 5.6% 2.8%
1807/ ./ . Count

3
3
% within quadn 'Quadrant'

3.4%
.8%
1808/ ./ . Count


1 1
% within quadn 'Quadrant'


1.1% .3%
1825/ ./ . Count 1 1 1 2 5
% within quadn 'Quadrant' 1.1% 1.1% 1.1% 2.2% 1.4%
1826/ ./ . Count


1 1
% within quadn 'Quadrant'


1.1% .3%
1832/ ./ . Count
1

1
% within quadn 'Quadrant'
1.1%

.3%
2101/ ./ . Count 4 2 1 3 10
% within quadn 'Quadrant' 4.2% 2.2% 1.1% 3.4% 2.8%
2101/2733/ . Count 1
1
2
% within quadn 'Quadrant' 1.1%
1.1%
.6%
2101/3661/ . Count

1
1
% within quadn 'Quadrant'

1.1%
.3%
2201/ ./ . Count
1 2
3
% within quadn 'Quadrant'
1.1% 2.3%
.8%
2203/ ./ . Count 2


2
% within quadn 'Quadrant' 2.1%


.6%
2733/ ./ . Count 1 1 5 4 11
% within quadn 'Quadrant' 1.1% 1.1% 5.7% 4.5% 3.0%
2745/ ./ . Count

1
1
% within quadn 'Quadrant'

1.1%
.3%
3611/ ./ . Count 1
1 4 6
% within quadn 'Quadrant' 1.1%
1.1% 4.5% 1.7%
5001/ ./ . Count

1
1
% within quadn 'Quadrant'

1.1%
.3%
6231/ ./ . Count
1

1
% within quadn 'Quadrant'
1.1%

.3%
6301/1501/ . Count

1
1
% within quadn 'Quadrant'

1.1%
.3%
6331/ ./ . Count 1


1
% within quadn 'Quadrant' 1.1%


.3%
6331/1501/ . Count

1
1
% within quadn 'Quadrant'

1.1%
.3%
Total Count 95 92 87 89 363
% within quadn 'Quadrant' 100.0% 100.0% 100.0% 100.0% 100.0%
6 Retreatment combination 1131/ ./ . Count
1

1
% within quadn 'Quadrant'
.4%

.1%
1131/1501/1711 Count
1

1
% within quadn 'Quadrant'
.4%

.1%
1131/1711/3661 Count
1

1
% within quadn 'Quadrant'
.4%

.1%
1401/ ./ . Count 23 30 15 18 86
% within quadn 'Quadrant' 9.4% 11.8% 6.2% 8.7% 9.1%
1401/1403/ . Count 1


1
% within quadn 'Quadrant' .4%


.1%
1401/1421/ . Count
1 1 1 3
% within quadn 'Quadrant'
.4% .4% .5% .3%
1401/1501/ . Count 2 2 1 1 6
% within quadn 'Quadrant' .8% .8% .4% .5% .6%
1402/ ./ . Count 8 5 16 17 46
% within quadn 'Quadrant' 3.3% 2.0% 6.6% 8.2% 4.8%
1403/ ./ . Count 73 66 79 63 281
% within quadn 'Quadrant' 29.8% 26.0% 32.5% 30.3% 29.6%
1403/1404/ . Count
1

1
% within quadn 'Quadrant'
.4%

.1%
1403/1421/ . Count
1

1
% within quadn 'Quadrant'
.4%

.1%
1403/1501/ . Count 3 7 5 3 18
% within quadn 'Quadrant' 1.2% 2.8% 2.1% 1.4% 1.9%
1403/3661/ . Count

1
1
% within quadn 'Quadrant'

.4%
.1%
1404/ ./ . Count 30 25 25 36 116
% within quadn 'Quadrant' 12.2% 9.8% 10.3% 17.3% 12.2%
1404/1501/ . Count 2 4 5 8 19
% within quadn 'Quadrant' .8% 1.6% 2.1% 3.8% 2.0%
1411/ ./ . Count 1


1
% within quadn 'Quadrant' .4%


.1%
1421/ ./ . Count 24 14 14 13 65
% within quadn 'Quadrant' 9.8% 5.5% 5.8% 6.3% 6.8%
1426/ ./ . Count 17 19 13 12 61
% within quadn 'Quadrant' 6.9% 7.5% 5.3% 5.8% 6.4%
1441/ ./ . Count 1


1
% within quadn 'Quadrant' .4%


.1%
1443/ ./ . Count


1 1
% within quadn 'Quadrant'


.5% .1%
1444/ ./ . Count
1 2 1 4
% within quadn 'Quadrant'
.4% .8% .5% .4%
1501/ ./ . Count 1 5 1 1 8
% within quadn 'Quadrant' .4% 2.0% .4% .5% .8%
1501/1704/ . Count
1

1
% within quadn 'Quadrant'
.4%

.1%
1501/1711/ . Count 1 1

2
% within quadn 'Quadrant' .4% .4%

.2%
1523/ ./ . Count


1 1
% within quadn 'Quadrant'


.5% .1%
1702/ ./ . Count
2

2
% within quadn 'Quadrant'
.8%

.2%
1704/ ./ . Count 2 4 2 2 10
% within quadn 'Quadrant' .8% 1.6% .8% 1.0% 1.1%
1711/ ./ . Count 10 14 13 4 41
% within quadn 'Quadrant' 4.1% 5.5% 5.3% 1.9% 4.3%
1712/ ./ . Count 3 1 2
6
% within quadn 'Quadrant' 1.2% .4% .8%
.6%
1712/3661/ . Count
1

1
% within quadn 'Quadrant'
.4%

.1%
1781/ ./ . Count
1
1 2
% within quadn 'Quadrant'
.4%
.5% .2%
1782/ ./ . Count 6 7 1 1 15
% within quadn 'Quadrant' 2.4% 2.8% .4% .5% 1.6%
1807/ ./ . Count

5
5
% within quadn 'Quadrant'

2.1%
.5%
1808/ ./ . Count


1 1
% within quadn 'Quadrant'


.5% .1%
1825/ ./ . Count 1
1
2
% within quadn 'Quadrant' .4%
.4%
.2%
1831/ ./ . Count
1
1 2
% within quadn 'Quadrant'
.4%
.5% .2%
1832/ ./ . Count


1 1
% within quadn 'Quadrant'


.5% .1%
2101/ ./ . Count 4 8 7 7 26
% within quadn 'Quadrant' 1.6% 3.1% 2.9% 3.4% 2.7%
2201/ ./ . Count 3 3 2 1 9
% within quadn 'Quadrant' 1.2% 1.2% .8% .5% .9%
2203/ ./ . Count 5 2 6 2 15
% within quadn 'Quadrant' 2.0% .8% 2.5% 1.0% 1.6%
2733/ ./ . Count 5 6 5 3 19
% within quadn 'Quadrant' 2.0% 2.4% 2.1% 1.4% 2.0%
2744/ ./ . Count 1 1 1 1 4
% within quadn 'Quadrant' .4% .4% .4% .5% .4%
2745/ ./ . Count 1
1
2
% within quadn 'Quadrant' .4%
.4%
.2%
3611/ ./ . Count 11 6 11 4 32
% within quadn 'Quadrant' 4.5% 2.4% 4.5% 1.9% 3.4%
3611/1421/1501 Count
1

1
% within quadn 'Quadrant'
.4%

.1%
5001/ ./ . Count
3 1
4
% within quadn 'Quadrant'
1.2% .4%
.4%
5032/ ./ . Count
1

1
% within quadn 'Quadrant'
.4%

.1%
5041/ ./ . Count

1
1
% within quadn 'Quadrant'

.4%
.1%
5201/ ./ . Count 1
1 1 3
% within quadn 'Quadrant' .4%
.4% .5% .3%
5213/ ./ . Count

1
1
% within quadn 'Quadrant'

.4%
.1%
5826/ ./ . Count
1

1
% within quadn 'Quadrant'
.4%

.1%
6231/ ./ . Count

1
1
% within quadn 'Quadrant'

.4%
.1%
6301/ ./ . Count 3 4 1 1 9
% within quadn 'Quadrant' 1.2% 1.6% .4% .5% .9%
6321/ ./ . Count

1
1
% within quadn 'Quadrant'

.4%
.1%
6332/ ./ . Count 2 1

3
% within quadn 'Quadrant' .8% .4%

.3%
6341/ ./ . Count


1 1
% within quadn 'Quadrant'


.5% .1%
6351/ ./ . Count

1
1
% within quadn 'Quadrant'

.4%
.1%
Total Count 245 254 243 208 950
% within quadn 'Quadrant' 100.0% 100.0% 100.0% 100.0% 100.0%
7 Retreatment combination 1131/1501/1711 Count 1


1
% within quadn 'Quadrant' .7%


.2%
1401/ ./ . Count 24 23 16 23 86
% within quadn 'Quadrant' 15.9% 16.3% 10.7% 14.0% 14.2%
1401/1421/ . Count 1


1
% within quadn 'Quadrant' .7%


.2%
1401/1501/ . Count 2 1
1 4
% within quadn 'Quadrant' 1.3% .7%
.6% .7%
1401/1807/ . Count
1

1
% within quadn 'Quadrant'
.7%

.2%
1402/ ./ . Count 9 5 3 11 28
% within quadn 'Quadrant' 6.0% 3.5% 2.0% 6.7% 4.6%
1402/1403/ . Count 1

2 3
% within quadn 'Quadrant' .7%

1.2% .5%
1402/3661/ . Count 1


1
% within quadn 'Quadrant' .7%


.2%
1403/ ./ . Count 48 51 51 57 207
% within quadn 'Quadrant' 31.8% 36.2% 34.2% 34.8% 34.2%
1403/1426/ . Count

1
1
% within quadn 'Quadrant'

.7%
.2%
1403/1501/ . Count 2 2 2 1 7
% within quadn 'Quadrant' 1.3% 1.4% 1.3% .6% 1.2%
1403/1702/ . Count


1 1
% within quadn 'Quadrant'


.6% .2%
1404/ ./ . Count 9 15 11 18 53
% within quadn 'Quadrant' 6.0% 10.6% 7.4% 11.0% 8.8%
1404/1421/ . Count

1
1
% within quadn 'Quadrant'

.7%
.2%
1404/1501/ . Count 1 1 1 1 4
% within quadn 'Quadrant' .7% .7% .7% .6% .7%
1404/1501/3661 Count 1


1
% within quadn 'Quadrant' .7%


.2%
1421/ ./ . Count 5 4 7 7 23
% within quadn 'Quadrant' 3.3% 2.8% 4.7% 4.3% 3.8%
1426/ ./ . Count 11 10 12 11 44
% within quadn 'Quadrant' 7.3% 7.1% 8.1% 6.7% 7.3%
1426/1501/ . Count

1
1
% within quadn 'Quadrant'

.7%
.2%
1426/1831/ . Count
1

1
% within quadn 'Quadrant'
.7%

.2%
1441/ ./ . Count 4
1 1 6
% within quadn 'Quadrant' 2.6%
.7% .6% 1.0%
1442/ ./ . Count


1 1
% within quadn 'Quadrant'


.6% .2%
1443/ ./ . Count 1


1
% within quadn 'Quadrant' .7%


.2%
1444/ ./ . Count 1 1 3 2 7
% within quadn 'Quadrant' .7% .7% 2.0% 1.2% 1.2%
1461/ ./ . Count 2


2
% within quadn 'Quadrant' 1.3%


.3%
1501/ ./ . Count

2 1 3
% within quadn 'Quadrant'

1.3% .6% .5%
1501/1704/ . Count


1 1
% within quadn 'Quadrant'


.6% .2%
1501/1712/ . Count 1


1
% within quadn 'Quadrant' .7%


.2%
1704/ ./ . Count 1 3 2
6
% within quadn 'Quadrant' .7% 2.1% 1.3%
1.0%
1711/ ./ . Count 3 3 2 2 10
% within quadn 'Quadrant' 2.0% 2.1% 1.3% 1.2% 1.7%
1712/ ./ . Count 1
1
2
% within quadn 'Quadrant' .7%
.7%
.3%
1781/ ./ . Count

1
1
% within quadn 'Quadrant'

.7%
.2%
1782/ ./ . Count
2
1 3
% within quadn 'Quadrant'
1.4%
.6% .5%
1807/ ./ . Count 1 1 1
3
% within quadn 'Quadrant' .7% .7% .7%
.5%
1825/ ./ . Count
1

1
% within quadn 'Quadrant'
.7%

.2%
2101/ ./ . Count 7 4 14 10 35
% within quadn 'Quadrant' 4.6% 2.8% 9.4% 6.1% 5.8%
2201/ ./ . Count
4
1 5
% within quadn 'Quadrant'
2.8%
.6% .8%
2203/ ./ . Count 2 3 2 2 9
% within quadn 'Quadrant' 1.3% 2.1% 1.3% 1.2% 1.5%
2733/ ./ . Count 2 1 5 2 10
% within quadn 'Quadrant' 1.3% .7% 3.4% 1.2% 1.7%
2744/ ./ . Count 1


1
% within quadn 'Quadrant' .7%


.2%
2745/ ./ . Count 1 2 1
4
% within quadn 'Quadrant' .7% 1.4% .7%
.7%
3611/ ./ . Count 4 1 8 4 17
% within quadn 'Quadrant' 2.6% .7% 5.4% 2.4% 2.8%
5001/ ./ . Count


1 1
% within quadn 'Quadrant'


.6% .2%
6231/ ./ . Count
1

1
% within quadn 'Quadrant'
.7%

.2%
6301/ ./ . Count 1

1 2
% within quadn 'Quadrant' .7%

.6% .3%
6321/ ./ . Count 1


1
% within quadn 'Quadrant' .7%


.2%
6331/ ./ . Count


1 1
% within quadn 'Quadrant'


.6% .2%
6341/ ./ . Count 1


1
% within quadn 'Quadrant' .7%


.2%
Total Count 151 141 149 164 605
% within quadn 'Quadrant' 100.0% 100.0% 100.0% 100.0% 100.0%
8 Retreatment combination 1401/ ./ . Count 11 7 8 4 30
% within quadn 'Quadrant' 44.0% 28.0% 26.7% 28.6% 31.9%
1402/ ./ . Count
1 1
2
% within quadn 'Quadrant'
4.0% 3.3%
2.1%
1403/ ./ . Count 6 11 7 3 27
% within quadn 'Quadrant' 24.0% 44.0% 23.3% 21.4% 28.7%
1404/ ./ . Count

2
2
% within quadn 'Quadrant'

6.7%
2.1%
1421/ ./ . Count 1
1
2
% within quadn 'Quadrant' 4.0%
3.3%
2.1%
1426/ ./ . Count 3 1 2
6
% within quadn 'Quadrant' 12.0% 4.0% 6.7%
6.4%
1441/ ./ . Count 1 1

2
% within quadn 'Quadrant' 4.0% 4.0%

2.1%
1443/ ./ . Count

1
1
% within quadn 'Quadrant'

3.3%
1.1%
1444/ ./ . Count
1 2
3
% within quadn 'Quadrant'
4.0% 6.7%
3.2%
1704/ ./ . Count


1 1
% within quadn 'Quadrant'


7.1% 1.1%
1704/1704/ . Count

1
1
% within quadn 'Quadrant'

3.3%
1.1%
1711/ ./ . Count

1
1
% within quadn 'Quadrant'

3.3%
1.1%
1712/ ./ . Count
1

1
% within quadn 'Quadrant'
4.0%

1.1%
2101/ ./ . Count 1
4 4 9
% within quadn 'Quadrant' 4.0%
13.3% 28.6% 9.6%
2203/ ./ . Count


1 1
% within quadn 'Quadrant'


7.1% 1.1%
3611/ ./ . Count 1 2

3
% within quadn 'Quadrant' 4.0% 8.0%

3.2%
6301/ ./ . Count 1

1 2
% within quadn 'Quadrant' 4.0%

7.1% 2.1%
Total Count 25 25 30 14 94
% within quadn 'Quadrant' 100.0% 100.0% 100.0% 100.0% 100.0%

* c) Kaplan-Meier Survivor Functions and Hazard functions.

temporary.
select if (any(quadrant,'LL','AA')).
KM
  time  /STATUS=failed(1)
  /PRINT NONE
  /PLOT SURVIVAL.

Kaplan-Meier

Notes
Output Created 12-FEB-2003 18:25:21
Comments
Input Data D:\pskl\RMatch1965y2001control.sav
File Label Aggregated File
Filter <none>
Weight <none>
Split File <none>
N of Rows in Working Data File 27736
Syntax KM
time /STATUS=failed(1)
/PRINT NONE
/PLOT SURVIVAL.
Resources Elapsed Time 0:00:01.98

Survival

temporary.
select if (any(quadrant,'LR','AA')).
KM
  time  /STATUS=failed(1)
  /PRINT NONE
  /PLOT SURVIVAL.

Kaplan-Meier

Notes
Output Created 12-FEB-2003 18:25:23
Comments
Input Data D:\pskl\RMatch1965y2001control.sav
File Label Aggregated File
Filter <none>
Weight <none>
Split File <none>
N of Rows in Working Data File 27705
Syntax KM
time /STATUS=failed(1)
/PRINT NONE
/PLOT SURVIVAL.
Resources Elapsed Time 0:00:01.98

Survival

temporary.
select if (any(quadrant,'UL','AA')).
KM
  time  /STATUS=failed(1)
  /PRINT NONE
  /PLOT SURVIVAL.

Kaplan-Meier

Notes
Output Created 12-FEB-2003 18:25:25
Comments
Input Data D:\pskl\RMatch1965y2001control.sav
File Label Aggregated File
Filter <none>
Weight <none>
Split File <none>
N of Rows in Working Data File 27817
Syntax KM
time /STATUS=failed(1)
/PRINT NONE
/PLOT SURVIVAL.
Resources Elapsed Time 0:00:13.45

Survival

temporary.
select if (any(quadrant,'UR','AA')).
KM
  time  /STATUS=failed(1)
  /PRINT NONE
  /PLOT SURVIVAL.

Kaplan-Meier

Notes
Output Created 12-FEB-2003 18:25:38
Comments
Input Data D:\pskl\RMatch1965y2001control.sav
File Label Aggregated File
Filter <none>
Weight <none>
Split File <none>
N of Rows in Working Data File 27802
Syntax KM
time /STATUS=failed(1)
/PRINT NONE
/PLOT SURVIVAL.
Resources Elapsed Time 0:00:01.93

Survival

* Subdivide by tooth.

Get file='D:\pskl\RMatch1965y2001control.sav'.

select if (any(quadrant,'LL','AA')).
KM
  time  BY tooth  /STATUS=failed(1)
  /PRINT NONE
  /PLOT SURVIVAL
  /save Survival(survtoot).

Kaplan-Meier

Notes
Output Created 12-FEB-2003 18:25:40
Comments
Input Data D:\pskl\RMatch1965y2001control.sav
File Label Aggregated File
Filter <none>
Weight <none>
Split File <none>
N of Rows in Working Data File 27736
Syntax KM
time BY tooth /STATUS=failed(1)
/PRINT NONE
/PLOT SURVIVAL
/save Survival(survtoot).
Resources Elapsed Time 0:00:02.16

Survival

 Survival Analysis for TIME

                            Total        Number         Number          Percent
                                         Events        Censored        Censored

  TOOTH           1          1818            15           1803            99.17
  TOOTH           2          1668            16           1652            99.04
  TOOTH           3          1599            29           1570            98.19
  TOOTH           4          2849            50           2799            98.24
  TOOTH           5          4038            95           3943            97.65
  TOOTH           6          7781           245           7536            96.85
  TOOTH           7          6003           151           5852            97.48
  TOOTH           8          1980            25           1955            98.74

Overall                     27736           626          27110            97.74



* Create Excel file for plotting.

select if (failed=1).
sort cases by time tooth.

aggregate outfile=*
 /presorted
 /break time tooth
 /survtoot
  =first(survtoot)
 /n=n.

If (tooth=1) tooth1=survtoot.
If (tooth=2) tooth2=survtoot.
If (tooth=3) tooth3=survtoot.
If (tooth=4) tooth4=survtoot.
If (tooth=5) tooth5=survtoot.
If (tooth=6) tooth6=survtoot.
If (tooth=7) tooth7=survtoot.
If (tooth=8) tooth8=survtoot.

aggregate outfile=*
 /presorted
 /break time
 / tooth1 to tooth8
 = first(tooth1 to tooth8).

SAVE TRANSLATE OUTFILE='I:\Research Projects\longevity\early life 1965 control LL.xls'
  /TYPE=XLS /MAP /REPLACE /FIELDNAMES.

Data written to I:\Research Projects\longevity\early life 1965 control LL.xls.
9 variables and 287 cases written to range: SPSS.
Variable: TIME       Type: Number   Width:  8   Dec: 2
Variable: TOOTH1     Type: Number   Width:  8   Dec: 2
Variable: TOOTH2     Type: Number   Width:  8   Dec: 2
Variable: TOOTH3     Type: Number   Width:  8   Dec: 2
Variable: TOOTH4     Type: Number   Width:  8   Dec: 2
Variable: TOOTH5     Type: Number   Width:  8   Dec: 2
Variable: TOOTH6     Type: Number   Width:  8   Dec: 2
Variable: TOOTH7     Type: Number   Width:  8   Dec: 2
Variable: TOOTH8     Type: Number   Width:  8   Dec: 2






Get file='D:\pskl\RMatch1965y2001control.sav'.

select if (any(quadrant,'LR','AA')).
KM
  time  BY tooth  /STATUS=failed(1)
  /PRINT NONE
  /PLOT SURVIVAL
  /save Survival(survtoot).

Kaplan-Meier

Notes
Output Created 12-FEB-2003 18:25:45
Comments
Input Data D:\pskl\RMatch1965y2001control.sav
File Label Aggregated File
Filter <none>
Weight <none>
Split File <none>
N of Rows in Working Data File 27705
Syntax KM
time BY tooth /STATUS=failed(1)
/PRINT NONE
/PLOT SURVIVAL
/save Survival(survtoot).
Resources Elapsed Time 0:00:04.06

Survival

 Survival Analysis for TIME

                            Total        Number         Number          Percent
                                         Events        Censored        Censored

  TOOTH           1          1818            13           1805            99.28
  TOOTH           2          1669            15           1654            99.10
  TOOTH           3          1590            22           1568            98.62
  TOOTH           4          2842            47           2795            98.35
  TOOTH           5          4025            92           3933            97.71
  TOOTH           6          7779           254           7525            96.73
  TOOTH           7          6002           141           5861            97.65
  TOOTH           8          1980            25           1955            98.74

Overall                     27705           609          27096            97.80



* Create Excel file for plotting.

select if (failed=1).
sort cases by time tooth.

aggregate outfile=*
 /presorted
 /break time tooth
 /survtoot
  =first(survtoot)
 /n=n.

If (tooth=1) tooth1=survtoot.
If (tooth=2) tooth2=survtoot.
If (tooth=3) tooth3=survtoot.
If (tooth=4) tooth4=survtoot.
If (tooth=5) tooth5=survtoot.
If (tooth=6) tooth6=survtoot.
If (tooth=7) tooth7=survtoot.
If (tooth=8) tooth8=survtoot.

aggregate outfile=*
 /presorted
 /break time
 / tooth1 to tooth8
 = first(tooth1 to tooth8).

SAVE TRANSLATE OUTFILE='I:\Research Projects\longevity\early life 1965 control LR.xls'
  /TYPE=XLS /MAP /REPLACE /FIELDNAMES.

Data written to I:\Research Projects\longevity\early life 1965 control LR.xls.
9 variables and 280 cases written to range: SPSS.
Variable: TIME       Type: Number   Width:  8   Dec: 2
Variable: TOOTH1     Type: Number   Width:  8   Dec: 2
Variable: TOOTH2     Type: Number   Width:  8   Dec: 2
Variable: TOOTH3     Type: Number   Width:  8   Dec: 2
Variable: TOOTH4     Type: Number   Width:  8   Dec: 2
Variable: TOOTH5     Type: Number   Width:  8   Dec: 2
Variable: TOOTH6     Type: Number   Width:  8   Dec: 2
Variable: TOOTH7     Type: Number   Width:  8   Dec: 2
Variable: TOOTH8     Type: Number   Width:  8   Dec: 2









Get file='D:\pskl\RMatch1965y2001control.sav'.

select if (any(quadrant,'UL','AA')).
KM
  time  BY tooth  /STATUS=failed(1)
  /PRINT NONE
  /PLOT SURVIVAL
  /save Survival(survtoot).

Kaplan-Meier

Notes
Output Created 12-FEB-2003 18:26:03
Comments
Input Data D:\pskl\RMatch1965y2001control.sav
File Label Aggregated File
Filter <none>
Weight <none>
Split File <none>
N of Rows in Working Data File 27817
Syntax KM
time BY tooth /STATUS=failed(1)
/PRINT NONE
/PLOT SURVIVAL
/save Survival(survtoot).
Resources Elapsed Time 0:00:02.44

Survival

 Survival Analysis for TIME

                            Total        Number         Number          Percent
                                         Events        Censored        Censored

  TOOTH           1          1860            56           1804            96.99
  TOOTH           2          1706            48           1658            97.19
  TOOTH           3          1619            44           1575            97.28
  TOOTH           4          2864            63           2801            97.80
  TOOTH           5          4028            87           3941            97.84
  TOOTH           6          7757           243           7514            96.87
  TOOTH           7          5996           149           5847            97.52
  TOOTH           8          1987            30           1957            98.49

Overall                     27817           720          27097            97.41



* Create Excel file for plotting.

select if (failed=1).
sort cases by time tooth.

aggregate outfile=*
 /presorted
 /break time tooth
 /survtoot
  =first(survtoot)
 /n=n.

If (tooth=1) tooth1=survtoot.
If (tooth=2) tooth2=survtoot.
If (tooth=3) tooth3=survtoot.
If (tooth=4) tooth4=survtoot.
If (tooth=5) tooth5=survtoot.
If (tooth=6) tooth6=survtoot.
If (tooth=7) tooth7=survtoot.
If (tooth=8) tooth8=survtoot.

aggregate outfile=*
 /presorted
 /break time
 / tooth1 to tooth8
 = first(tooth1 to tooth8).

SAVE TRANSLATE OUTFILE='I:\Research Projects\longevity\early life 1965 control UL.xls'
  /TYPE=XLS /MAP /REPLACE /FIELDNAMES.

Data written to I:\Research Projects\longevity\early life 1965 control UL.xls.
9 variables and 296 cases written to range: SPSS.
Variable: TIME       Type: Number   Width:  8   Dec: 2
Variable: TOOTH1     Type: Number   Width:  8   Dec: 2
Variable: TOOTH2     Type: Number   Width:  8   Dec: 2
Variable: TOOTH3     Type: Number   Width:  8   Dec: 2
Variable: TOOTH4     Type: Number   Width:  8   Dec: 2
Variable: TOOTH5     Type: Number   Width:  8   Dec: 2
Variable: TOOTH6     Type: Number   Width:  8   Dec: 2
Variable: TOOTH7     Type: Number   Width:  8   Dec: 2
Variable: TOOTH8     Type: Number   Width:  8   Dec: 2









Get file='D:\pskl\RMatch1965y2001control.sav'.

select if (any(quadrant,'UR','AA')).
KM
  time  BY tooth  /STATUS=failed(1)
  /PRINT NONE
  /PLOT SURVIVAL
  /save Survival(survtoot).

Kaplan-Meier

Notes
Output Created 12-FEB-2003 18:26:11
Comments
Input Data D:\pskl\RMatch1965y2001control.sav
File Label Aggregated File
Filter <none>
Weight <none>
Split File <none>
N of Rows in Working Data File 27802
Syntax KM
time BY tooth /STATUS=failed(1)
/PRINT NONE
/PLOT SURVIVAL
/save Survival(survtoot).
Resources Elapsed Time 0:00:02.35

Survival

 Survival Analysis for TIME

                            Total        Number         Number          Percent
                                         Events        Censored        Censored

  TOOTH           1          1872            63           1809            96.63
  TOOTH           2          1704            43           1661            97.48
  TOOTH           3          1618            44           1574            97.28
  TOOTH           4          2862            53           2809            98.15
  TOOTH           5          4030            89           3941            97.79
  TOOTH           6          7733           208           7525            97.31
  TOOTH           7          6012           164           5848            97.27
  TOOTH           8          1971            14           1957            99.29

Overall                     27802           678          27124            97.56



* Create Excel file for plotting.

select if (failed=1).
sort cases by time tooth.

aggregate outfile=*
 /presorted
 /break time tooth
 /survtoot
  =first(survtoot)
 /n=n.

If (tooth=1) tooth1=survtoot.
If (tooth=2) tooth2=survtoot.
If (tooth=3) tooth3=survtoot.
If (tooth=4) tooth4=survtoot.
If (tooth=5) tooth5=survtoot.
If (tooth=6) tooth6=survtoot.
If (tooth=7) tooth7=survtoot.
If (tooth=8) tooth8=survtoot.

aggregate outfile=*
 /presorted
 /break time
 / tooth1 to tooth8
 = first(tooth1 to tooth8).

SAVE TRANSLATE OUTFILE='I:\Research Projects\longevity\early life 1965 control UR.xls'
  /TYPE=XLS /MAP /REPLACE /FIELDNAMES.

Data written to I:\Research Projects\longevity\early life 1965 control UR.xls.
9 variables and 285 cases written to range: SPSS.
Variable: TIME       Type: Number   Width:  8   Dec: 2
Variable: TOOTH1     Type: Number   Width:  8   Dec: 2
Variable: TOOTH2     Type: Number   Width:  8   Dec: 2
Variable: TOOTH3     Type: Number   Width:  8   Dec: 2
Variable: TOOTH4     Type: Number   Width:  8   Dec: 2
Variable: TOOTH5     Type: Number   Width:  8   Dec: 2
Variable: TOOTH6     Type: Number   Width:  8   Dec: 2
Variable: TOOTH7     Type: Number   Width:  8   Dec: 2
Variable: TOOTH8     Type: Number   Width:  8   Dec: 2